﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace SistemaServidor.Classes
{
    [DataContract]
    [Table("Proveedor")]
    public class Proveedor
    {
        [DataMember]
        public int ProveedorId { get; set; }
        [DataMember]
        public string Nombre { get; set; }
        [DataMember]
        public string Codigo { get; set; }
        [DataMember]
        public string Contraseña { get; set; }

        [DataMember]
        public virtual List<Producto> Productos { get; set; }
    }
}